<extend name="Base/common"/>
<style>
    .mingchen{
        width: 300px;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
</style>
<block name="right">

        <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                         科技查新附件
                    </div>
                </div>
            </div>
            <div class="col-sm-12 row chach">
                <form method="get" action="__SELF__">               
                    <input name="xmmc" type="text" class="form-control width20 marginright10" value="{$search}" placeholder="请输入项目名称">
                    <input type="submit" value="查询" class="action-button"/>
                </form>
            </div> 
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <div class="smart-widget-header row ">
                            <span class="smart-widget-option">
                                <span class="refresh-icon-animated">
                                    <!--<i class="fa fa-spinner fa-spin" style="color:#fff"></i>-->
                                </span>
                                <a href="#" class="widget-toggle-hidden-option">
                                    <!--<i class="fa fa-cog"></i>-->
                                </a>
                                <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                    <!--<i class="fa fa-chevron-up"></i>-->
                                </a>
                                <a href="#" class="widget-refresh-option">
                                    <!--<i class="fa fa-refresh"></i>-->
                                </a>
                            </span>
                        </div>
                        <div class="smart-widget-inner table-responsive">
                            <div class="smart-widget-hidden-section">
                                <ul class="widget-color-list clearfix">
                                    <li style="background-color:#20232b;" data-color="widget-dark"></li>
                                    <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                                    <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                                    <li style="background-color:#1fb5ac;" data-color="widget-green"></li>
                                    <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                                    <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                                    <li style="background-color:#e36159;" data-color="widget-red"></li>
                                    <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                                    <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                                    <li style="background-color:#fff;" data-color="reset"></li>
                                </ul>
                            </div>
                            <table class="table table-striped no-margin">
                                <thead>
                                    <tr>
                                        <th style="width: 80px">序号</th>
                                        <th >项目标题</th>
                                        <th style="width:200px">委托日期</th>
                                        <th style="width:200px">查新号</th>
                                        <th style="width:200px">委托附件</th>
                                        <th style="width:200px">发票附件</th>
                                        <th style="width:200px">报告附件</th>
                                    </tr>
                                </thead>
                                <tbody class="cy_takeyouflytb">
                                    <empty name="_list">
                                        <tr>
                                            <td colspan="6">对不起暂时没有数据</td>
                                        </tr>
                                        <else/>
                                        <volist name="_list" id="vo" key="k">
                                        <tr>
                                            <td>{$k+$num}</td>
                                            <td style="text-align: left"><a href="{:U('Task/browser',array('id'=>$vo['id'],'tag'=>2))}" style="color: blue" class="mingchen">{$vo['xmmc']}</a></td>
                                            <td title="{$vo['intime']}">{$vo['intime']|substr=0,-8}</td>
                                            <td>{$vo['cxh']}</td>
                                            <td>{$vo.sqfj|get_File_links}</td>
                                            <td>{$vo.upload_ids|get_File_links}</td>
                                            <td>{$vo.cx_file_ids|get_File_links}</td>
                                        </tr>
                                        </volist>
                                    </empty>
                                </tbody>
                            </table>
                            <div class="choose-page row">
                                {$_page}
                            </div>
                        </div><!-- ./smart-widget-inner -->
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
</block>
<block name="script">
    <script>
        $(function () {
            highlight_nav2('__SELF__');

        })
    </script>
</block>